package com.example.lxy.service;

import com.example.lxy.pojo.access;
import com.example.lxy.pojo.user;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserService {
    boolean add(user u);
    user login(@Param("username")String username, @Param("password")String password);
    List<user> list(String nickname);
    List<access> lists();
    List<user> listbiao();
    void deluser(int uid);
    user upiduser(int uid);
    void updateuser(user u);
    user reglist(String username);
    user reglist1(String nickname);
    List<user> likelist(String nickname);
}
